package group.hhsw.user_product.mapper;

import group.hhsw.common.model.UserProduct;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hmj
 * @since 2022-02-24
 */
public interface UserProductMapper extends BaseMapper<UserProduct> {
    Long getUserPurchaseAmount(@Param("account") String account,@Param("productId") String productId);
}
